home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d7
/
jaxhost5.arc
/
HOST.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-01-29
|
2KB
|
49 lines
@echo off
rem
rem A batch file for use with JaxHost and CTTY, or Doorway, or RemDoor
rem
c:
rem CHANGE THE ABOVE DRIVE SPEC TO THAT ON WHICH JAXHOST RESIDES.
cd\host
rem CHANGE THE ABOVE DIRECTORY TO THAT IN WHICH JAXHOST RESIDES.
if exist quit del quit
if exist okay del okay
jaxhost %1
if exist quit goto done
rem The above statement allows exit if you hit F1 or F2 within JaxHost.
if not exist okay goto off
del okay
rem ************************************************************
rem Only one of the following 3 sets of statements to be "unREMed".
rem In choosing one alternative, make sure the other 2 alternatives
rem have REM at the beginning of each line. Note: in its original
rem form this batch file is set up to invoke the 3rd, CTTY alternative.
rem
rem Alternative 1
rem Delete the REM in the line below, only if you wish to use Doorway
rem doorway COM1 /g:on /m:100 /O: /S:* /v:d^U /R:^X /c:dos
rem
rem Alternative 2
rem Delete the REM in the line below, only if you wish to use REMDOOR
rem remdoor 1
rem
rem Alternative 3
rem WATCHDOG line below needed to reboot system if carrier lost. See JAXHOST.DOC
rem Delete the REMs in the 5 lines below only if you wish to use CTTY
WATCHDOG +
CTTY COM1
ECHO To logoff, type EXIT and hit (ENTER).
C:\COMMAND
CTTY CON
rem ************************************************************
:off
WATCHDOG -
rem The above line not needed if not using WATCHDOG. See JAXHOST.DOC
jaxhost o
rem The above line invokes JaxHost with the O parm to cause logoff and
rem to drop DTR.
rem And the line below re-invokes this batch file from the beginning so
rem that JaxHost will recycle to await the next call.
%0 %1
:done